package com.thread.learn.thread5;

public class Singleton {
	
	//私有化构造方法
	private Singleton() {}
	
	private static Singleton instance=new Singleton();
	
	public static Singleton getInstance() {
		return instance;
	}

}
